home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / DiskUtil / Misc / SetBuffers / Install < prev    next >
Text File  |  1995-07-14  |  2KB  |  77 lines

  1. ; This will install SetBuffers onto your Hard Drive
  2. ; Script by Stephen J.Smith AUSTEX SOFTWARE 1995 v1.1
  3. ;
  4. ; Installer and Installer project icon
  5. ; (c) Copyright 1991-93 Commodore-Amiga, Inc.  All Rights Reserved.
  6. ; Reproduced and distributed under license from Commodore.
  7. ;
  8. ; INSTALLER SOFTWARE IS PROVIDED "AS-IS" AND SUBJECT TO CHANGE;
  9. ; NO WARRANTIES ARE MADE.  ALL USE IS AT YOUR OWN RISK.  NO LIABILITY
  10. ; OR RESPONSIBILITY IS ASSUMED.    
  11. ;
  12. (set source_dir (if (= 1 (exists @icon))
  13.             (pathonly (expandpath @icon))
  14.           (expandpath @icon))
  15. )
  16.  
  17. (set docs_source_dir ( tackon source_dir "Documents" )
  18. )
  19.  
  20. (set dest_dir
  21.     (tackon
  22.     (askdir
  23.         (prompt "SetBuffers v1.26\nCopyright (C) 1995 AUSTEX SOFTWARE\nWhere do you want to install the SetBuffers drawer?")
  24.         (help @askdir-help)
  25.         (default "SYS:")
  26.     )
  27.     "SetBuffers")
  28. )
  29. ;
  30. ; Now copy the SetBuffers program proper.
  31. ;
  32. (copyfiles
  33.     (prompt "Copying SetBuffers.")
  34.     (help @copyfiles-help)
  35.     (source source_dir)
  36.     (pattern "SetBuffers#?")
  37.     (infos)
  38.     (files)
  39.     (dest dest_dir)
  40.     (confirm)
  41. )
  42. ;
  43. ; Now copy the SetBuffers Documentation
  44. ;
  45. (copyfiles
  46.     (prompt "Copying SetBuffers Documentation.")
  47.     (help @copyfiles-help)
  48.     (source docs_source_dir)
  49.     (infos)
  50.     (pattern "#?")
  51.     (dest (tackon dest_dir "Documents"))
  52.     (confirm)
  53. )
  54. ;
  55. ; Obtain the destination for the axtools library. (Default LIBS:)
  56. ;
  57. (set destlib
  58.     (askdir
  59.         (prompt "Where do you want to install\n the axtools library?")
  60.         (help @askdir-help)
  61.         (default "LIBS:")
  62.     )
  63. )
  64. ;
  65. ; Now copy the axtools library required by the SetBuffers
  66. ; program. The installer will check version numbers of the
  67. ; library for the possibility of copying over a newer version.
  68. ;
  69. (copylib
  70.     (prompt "Copying axtools library.")
  71.     (help @copylib-help)
  72.     (source "LIBS/axtools.library")
  73.     (dest destlib)
  74.     (confirm)
  75. )
  76. ; And we're finished...
  77.